package com.drcoffee.drcoffeemall.service;

import com.drcoffee.drcoffeemall.entry.Attachment;
import com.drcoffee.drcoffeemall.entry.Result;
import com.drcoffee.drcoffeemall.entry.User;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestHeader;

import java.util.List;
import java.util.Map;

public interface ShoppingCartService {
    Result getCart(String Token, String search, String language);

    Result addToCart(String Token, Attachment attachment);

    Result removeFromCart(String Token, List<String> part_code);

    Result updateQuantityById(String account, Attachment attachment);

    ResponseEntity<Object> getTotal(String Token, List<String> part_codes);

    Result getCartsCount(String Token);

    ResponseEntity<Object> getCartProduct(String Token, String search, String language);

    ResponseEntity<Object> getErpStock(String array);
    void getToken();
}
